import BasePath from "../config";

const groupManagement = {
	path: `${BasePath}/afterSell-group/group-management`,
	name: 'afertGroup-management',
	component: () => import('@/views/home/operate-panel/afterSell-group/group-management.vue'),
	meta: {
		keepAlive: false
	}
}
const groupDetail = {
	path: `${BasePath}/afterSell-group/group-detail`,
	name: 'group-detail',
	component: () => import('@/views/home/operate-panel/afterSell-group/group-detail.vue'),
	meta: {
		keepAlive: false
	}
}
const signUpInfo = {
	path: `${BasePath}/afterSell-group/sign-up-info`,
	name: 'sign-up-info',
	component: () => import('@/views/home/operate-panel/afterSell-group/sign-up-info.vue'),
	meta: {
		keepAlive: false
	}
}
const groupCategory = {
	path: `${BasePath}/afterSell-group/group-category`,
	name: 'group-category',
	component: () => import('@/views/home/operate-panel/afterSell-group/group-category.vue'),
	meta: {
		keepAlive: false
	}
}

export default {
	path: `${BasePath}/afterSell-group`,
	name: 'afterSell-group',
	component: () => import('@/views/home/operate-panel/afterSell-group/index.vue'),
	redirect:`${BasePath}/afterSell-group/group-management`,
	meta: {
		keepAlive: false
	},
	children: [
		groupManagement,
		groupDetail,
		signUpInfo,
		groupCategory
	]
}